﻿using Reece.Open.Mvc.Atom.Contracts;

namespace Reece.Open.Mvc.Atom.Tests.TestObjects
{
    [AtomRoot(ElementName = "feed", Namespace = "http://www.w3.org/2005/Atom")]
    public class FieldXmlAttributeTestClass
    {
        [AtomElement(ElementName = "intfield")]
        public int IntValue;
        [AtomElement(ElementName = "stringfield")]
        public string StringValue;
        [AtomElement(ElementName = "intproperty")]
        public int IntPropertyValue { get; set; }
        [AtomElement(ElementName = "stringproperty")]
        public string StringPropertyValue { get; set; }
    }
}